from PyQt5.QtGui import *
from PyQt5.QtWidgets import *
from PyQt5.QtCore import *

from ui.Frm_About import Ui_Frm_About

class Uipy_frm_About(QWidget,Ui_Frm_About):
    def __init__(self,parent=None):
        super(Uipy_frm_About, self).__init__(parent)
        self.setupUi(self)
        self.setWindowFlags(Qt.WindowCloseButtonHint)
        self.setFixedSize(self.width(),self.height())
        self.label.setText(f"<html><head/><body><p align=\"center\"><span style=\" font-size:18pt; font-weight:600;\">ISpider</span></p><p align=\"center\">Version {qApp.applicationVersion()}</p><p align=\"center\"><br/></p><p align=\"center\">爬虫管理器</p><p align=\"center\">开源：<a href=\"https://gitee.com/ruxia-tjy/ispider\"><span style=\" text-decoration: underline; color:#0000ff;\">https://gitee.com/ruxia-tjy/ispider</span></a></p><p align=\"center\">感谢您的使用</p><p align=\"center\">--2021-01-28</p><p align=\"center\"><br/></p><p align=\"center\">开源 | ISpider | ruxia-TJY</p></body></html>")